namespace HZY.Repository.Admin.Migrations.SeedsDatas.Datas;

public static class MigrationsSysRoleModelBuilderExtensions
{
    public static void Seed(this ModelBuilder modelBuilder)
    {
        // ===============================================表：sys_role 种子数据=============================================
        modelBuilder.Entity<SysRole>().HasData(new SysRole() { Id = Guid.Parse("18fa4771-6f58-46a3-80d2-6f0f5e9972e3"), CreationTime = DateTime.Parse("2016/7/6 17:59:20"), CreatorUserId = null, DeleteLock = bool.Parse("True"), IsAdmin = bool.Parse("True"), LastModificationTime = DateTime.Parse("2022/12/4 14:02:19"), LastModifierUserId = Guid.Parse("0198459e-2034-4533-b843-5d227ad20740"), Name = "超级管理员", Number = 1, Remark = "超级管理员" }, new SysRole() { Id = Guid.Parse("40ff1844-c099-4061-98e0-cd6e544fcfd3"), CreationTime = DateTime.Parse("2016/7/6 17:59:20"), CreatorUserId = null, DeleteLock = bool.Parse("True"), IsAdmin = bool.Parse("False"), LastModificationTime = DateTime.Parse("2022/12/4 14:04:32"), LastModifierUserId = Guid.Parse("0198459e-2034-4533-b843-5d227ad20740"), Name = "普通用户", Number = 2, Remark = "普通用户" });

    }
}
